package com.zzb.polymorphism;

public interface Inter {
    /*public static final */int num = 10; //public static final默认存在

    /*public abstract*/ void eat();//public abstract默认

    public static void main(String[] args) {
        int num = Inter.num;
        /*Inter.num = 20;*/    //错  不可更改
    }

}


